package cn.com.chengmandian.xh.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * IOT系统-电池BMS版本升级
 * </p>
 *
 * @author AutoGenerator
 */
@Getter
@Setter
@TableName("xh_iot_bms_info")
@ApiModel(value = "XhIotBmsInfo对象", description = "IOT系统-电池BMS版本升级")
public class XhIotBmsInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("版本号")
    private Integer version;

    @ApiModelProperty("升级说明，多行文本框")
    private String note;

    @ApiModelProperty("安装包下载URL，自行上传")
    private String download;

    @ApiModelProperty("安装包大小，单位M，手动输入")
    private Integer size;

    @ApiModelProperty("状态 1-待发布 2-发布中 3-发布完成 4-取消发布")
    private Integer status;

    @ApiModelProperty("发布时间")
    private Date publishTime;

    @ApiModelProperty("结束时间")
    private Date overTime;

    @ApiModelProperty("每秒限制升级设备数量，最大30")
    private Integer secondAmount;

    @ApiModelProperty("升级超时时长（秒）")
    private Integer timeoutSecond;

    @ApiModelProperty("总升级数量")
    private Integer allAmount;

    @ApiModelProperty("发起升级数量")
    private Integer startAmount;

    @ApiModelProperty("升级成功数量")
    private Integer successAmount;

    @ApiModelProperty("升级失败数量")
    private Integer errorAmount;

    @ApiModelProperty("升级超时数量")
    private Integer timeoutAmount;

    @ApiModelProperty("修改时间")
    private Date modifyTime;

    @ApiModelProperty("创建时间")
    private Date createTime;

}
